<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl.WWWROOT_BACKEND; ?>/css/recovery.css"/>
<?php $this->pageTitle=Yii::app()->name . ' - '.UserModule::t("Restore");
$this->breadcrumbs=array(
	UserModule::t("Login") => array('/user/login'),
	UserModule::t("Restore"),
);
?>

<h2 class="center_title"><?php echo UserModule::t("Restore"); ?></h2>

<?php if(Yii::app()->user->hasFlash('recoveryMessage')): ?>
<div class="success">
<?php echo Yii::app()->user->getFlash('recoveryMessage'); ?>
</div>
<?php else: ?>

<div class="wd-registration">
<?php echo CHtml::beginForm(); ?>

	<fieldset>
		<?php echo CHtml::errorSummary($form); ?>
		
		<div class="wd-input">
			<?php echo CHtml::activeLabel($form,'login_or_email'); ?>
			<?php echo CHtml::activeTextField($form,'login_or_email') ?>
			<p class="hint"><?php echo UserModule::t("Please enter your login or email addres."); ?></p>
		</div>
		
		<div class="wd-submit">
			<?php echo CHtml::submitButton(UserModule::t("Restore")); ?>
		</div>
	</fieldset>
<?php echo CHtml::endForm(); ?>
</div><!-- form -->
<?php endif; ?>